import request from '@/utils/request'

//根据项目编号获取测绘机构信息
export function getMappingOrganization(data) {
    return request({
        url: '/pc/project/early_mapping_result/entering/01_get_mapping_organization',
        method: 'POST',
        formData: data
    })
}

//上传项目前期测绘成果
export function submit(data) {
    return request({
        url: '/pc/project/early_mapping_result/entering/02_upload_early_mapping_result',
        method: 'POST',
        data
    })
}

//获取项目前期测绘审定信息
export function getLandResultAuditInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit_opinion/01_get_land_result_audit_info',
        method: 'POST',
        formData: data
    })
}

//查询片块前期测绘成果初审信息
export function queryLandResultAuditInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/01_query_land_result_audit_info',
        method: 'POST',
        formData: data
    })
}
//获取前期已经审查片块信息
export function queryYetAuditLand(data) {
    return request({
        url: '/pc/project/early_mapping_result/second_audit/02_query_yet_audit_land',
        method: 'POST',
        formData: data
    })
}
//查询片块前期测绘成果初审信息
export function saveDistrictCenterOpinion(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit_opinion/02_save_district_center_opinion',
        method: 'POST',
        data
    })
}

//查询片块前期测绘成果初审信息
export function saveDistrictBureauOpinion(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit_opinion/03_save_district_bureau_opinion',
        method: 'POST',
        data
    })
}

//现场踏勘-综合监管信息
export function supervisingInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit_opinion/04_supervising_info',
        method: 'POST',
        data
    })
}

//现场踏勘-综合监管信息
export function earlySupervisingInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/entering/early_supervising_info',
        method: 'POST',
        data
    })
}

//现场踏勘-综合监理信息详细
export function earlyEnterpriseCheck(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit_opinion/05_early_enterprise_check',
        method: 'POST',
        formData: data
    })
}

//前期测绘-综合监理信息详细
export function earlyEnterpriseCheckQianqi(data) {
    return request({
        url: '/pc/project/early_mapping_result/entering/early_enterprise_check',
        method: 'POST',
        formData: data
    })
}


//现场踏勘-综合监理信息详细
export function getLandStatusMapAuditInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/02_get_land_status_map_audit_info',
        method: 'POST',
        formData: data
    })
}

//现场踏勘-综合监理信息详细
export function queryProjectResultAuditInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/03_query_project_Result_audit_info',
        method: 'POST',
        formData: data
    })
}
//附件信息
export function queryProjectResultAuditInfo2(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/03_query_project_Result_audit_info2',
        method: 'POST',
        formData: data
    })
}
//获取审核意见类型
export function getOpinionType() {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/08_get_Opinion_type',
        method: 'POST',
    })
}

//审查项目前期测绘成果的附件信息
export function auditProjectResultAttachmentInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/07_audit_project_result_attachment_info',
        method: 'POST',
        data
    })
}

//审查片块前期测绘成果规模是否相同
export function auditLandResultInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/04_audit_land_result_info',
        method: 'POST',
        data
    })
}

//审查片块前期测绘的现状图信息
export function auditLandStatusMapInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/05_audit_land_status_map_info',
        method: 'POST',
        data
    })
}

//获取表
export function getFirstAuditOpinionFile(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit_opinion/07_get_first_audit_opinion_file',
        method: 'POST',
        formData: data
    })
}

//校验附件审查意见
export function verifyAttachmentOpinion(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/08_verify_attachment_opinion',
        method: 'POST',
        formData: data
    })
}

//获取初审意见详情
export function getFirstAuditOpinion(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit_opinion/08_get_first_audit_opinion',
        method: 'POST',
        formData: data
    })
}

//文件下载
export function download(data) {
    return request({
        url: '/pc/file/download?id=' + data,
        method: 'GET',
    })
}


//文件下载
export function opinionExport(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/opinion_review?projectId=' + data,
        method: 'GET',
    })
}

//审计列表数据

export function getLandLaterFirstAuditScaleChangeInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit_opinion/09_get_land_early_first_audit_scale_change_info',
        method: 'POST',
        formData:data
    })
}
//成果录入附件回显
export function queryEarlyMappingFile(data) {
    return request({
        url: '/pc/project/early_mapping_result/entering/query_early_mapping_file',
        method: 'POST',
        formData: data
    })
}

//成果录入片块回显
export function queryEarlyMappingLand(data) {
    return request({
        url: '/pc/project/early_mapping_result/entering/query_early_mapping_land',
        method: 'POST',
        formData: data
    })
}

//提交前期测绘录入
export function earlyMappingResultCommit(data) {
    return request({
        url: '/pc/project/early_mapping_result/entering/early_mapping_result_commit',
        method: 'POST',
        formData: data
    })
}
//审查片块外业信息
export function wyAuditLandOuterInfo(data) {
    return request({
        url: '/pc/project/early_mapping_result/first_audit/06_audit_land_outer_info',
        method: 'POST',
        data
    })
}
